projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6b4652
)
x86: per-domain p2m structure must be initialised to all-zeroes when
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 15 Apr 2008 14:44:40 +0000
(15:44 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 15 Apr 2008 14:44:40 +0000
(15:44 +0100)
it is allocated.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/arch/x86/mm/p2m.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/p2m.c
b/xen/arch/x86/mm/p2m.c
index 97d92880bb9f8c49feb441de405386316a254948..faee13955ef87a562d97ed212cb3e5cd61f955c9 100644
(file)
--- a/
xen/arch/x86/mm/p2m.c
+++ b/
xen/arch/x86/mm/p2m.c
@@
-414,6
+414,7
@@
int p2m_init(struct domain *d)
d->arch.p2m = p2m;
+ memset(p2m, 0, sizeof(*p2m));
p2m_lock_init(p2m);
INIT_LIST_HEAD(&p2m->pages);